package com.ruoyi.project.user.ioslog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * iOS上报对象 ios_log
 *
 * @author shixiangwen
 * @date 2022-12-01
 */
public class IosLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * kkid
     */
    @Excel(name = "kkid")
    private Long kkid;

    /**
     * uuid
     */
    @Excel(name = "uuid")
    private String uuid;

    /**
     * ua
     */
    @Excel(name = "ua")
    private String ua;

    /**
     * ip
     */
    @Excel(name = "ip")
    private String ip;

    /**
     * 上报类型
     */
    @Excel(name = "上报类型")
    private Integer op;

    /**
     * 参数
     */
    @Excel(name = "参数")
    private String param;

    private String ipInfo;

    private String appId;

    public String getIpInfo() {
        return ipInfo;
    }

    public void setIpInfo(String ipInfo) {
        this.ipInfo = ipInfo;
    }

    /**
     * 上报时间
     */
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setKkid(Long kkid) {
        this.kkid = kkid;
    }

    public Long getKkid() {
        return kkid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUa(String ua) {
        this.ua = ua;
    }

    public String getUa() {
        return ua;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setOp(Integer op) {
        this.op = op;
    }

    public Integer getOp() {
        return op;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getParam() {
        return param;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("kkid", getKkid())
                .append("uuid", getUuid())
                .append("ua", getUa())
                .append("ip", getIp())
                .append("op", getOp())
                .append("param", getParam())
                .append("createdTime", getCreatedTime())
                .toString();
    }
}
